package com.sl.au.service;

import java.util.List;
import java.util.Map;

import com.sl.au.entity.Chance;
import com.sl.au.entity.ChanceStatistics;
import com.sl.au.entity.ExpectedOrder;
import com.sl.au.entity.ExpectedOrderAnalysis;
import com.sl.au.entity.User;
import com.sl.au.repository.ExpectedOrderRepository;

public interface ExpectedOrderService extends BaseService {
	ExpectedOrderRepository getRepository();
	
	/**
	 * 导出预计订货细目
	 * 
	 * @param start
	 * @param length
	 * @param key
	 * @param orderName
	 * @param dir
	 * @return
	 */
	List<ExpectedOrder> getExpectedOrderByTime(int start, int length, Map<String, String> condition, String orderName, String dir);
	
	/**
	 * 导出预计订货分析报表
	 * 
	 * @param start
	 * @param length
	 * @param key
	 * @param orderName
	 * @param dir
	 * @return
	 */
	List<ExpectedOrderAnalysis> getExpectedOrderForAnalysis(int start, int length, Map<String, String> condition, String orderName, String dir);

	
	/**
	 * 删除订单信息
	 * @param list
	 * @param userId
	 */
	boolean deleteExpectedOrderCount(List<String> list,String userId);
	
}

